package cn.qayy.dao;

import java.util.List;
import java.util.Map;

import cn.qayy.po.Basis;
import cn.qayy.po.Register;
import cn.qayy.service.Uploadable;

public interface RegisterMapper {

    List<Map<String, Object>> selectRegisterBy(Map<String, Object> params) ;

    int deleteByPrimaryKey(Integer id);

    int insert(Register record);

    int insertSelective(Register record);

    Register selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Register record);

    int updateByPrimaryKey(Register record);

    int updateByList(List<?> list);

    int insertByList(List<?> list);

    List<Map<String,String>> selectCommercialSourceAuto();

	List<Map<String, String>> selectAllJiafanAndYifan();

	List<Register> selectJiafanAndYifanByNames(Map<String, Object> params);

	List<Register> selectAllProvince2Names();

	List<Register> selectByMap(Map<String, Object> params);

	List<Integer> selectIdsByMap(Map<String, Object> params);

	List<Register> selectForList(Map<String, Object> params);

	List<Register> selectByIds(List<String> ids);
}